package com.pay.dao;


/**
 * Created by chenweiyi on 2018/1/30.
 */
import com.pay.model.Order;
public interface OrderMapper {

    /**
     * 插入订单
     * @param order
     * @return
     */
    int insertSelective(Order order);

    /**
     *
     * 修改订单
     * @param order
     * @return
     */
    int updateSelective(Order order);

    /**
     * 根据订单号查询订单
     * @param orderNo
     * @return
     */
    Order findOrderByOrderNo(String orderNo);

}
